package it.infodea.tapestrydea;

import it.infodea.tapestrydea.services.jcr.nodes.wrappers.JcrFileNode;

import org.apache.commons.fileupload.FileItem;
import org.apache.tapestry5.upload.internal.services.UploadedFileItem;


public class RepositoryUploadedFileBean extends UploadedFileItem {

	private JcrFileNode jcrFile;
	
	private boolean uploaded = false;
	
	public RepositoryUploadedFileBean(FileItem item) {
		super(item);
		uploaded = item != null;
	}

	public JcrFileNode getJcrFile() {
		return jcrFile;
	}

	public void setJcrFile(JcrFileNode jcrFile) {
		this.jcrFile = jcrFile;
	}

	public boolean isUploaded() {
		return uploaded;
	}

	
}
